﻿using System;
using System.Collections.Generic;
using System.Linq;
using Infinity.Expressions.Operator;
using Infinity.Statements.StatementFactory.Program;
using System.Text;

namespace Infinity.Expressions.ExpressionFactory.Operator
{
	public class AccessOperatorExpression : OperatorExpression, IAccessOperatorExpression
	{
		public AccessOperatorExpression()
		{
			Operator = new CustomOperatorStatement()
				           {
					           Name = ".",
					           Precedence = int.MaxValue,
					           ReturnType = typeof(object),
					           OperatorType = Infinity.Statements.Program.OperatorType.Infix
				           };
		}
	}
}